You are here: Symbol Reference > Dew Namespace > Dew.Stats Namespace > Dew.Stats.Units Namespace > Classes > Statistics Class > Statistics Methods > Statistics.EmpiricalCDF Method
Dew Stats for .NET
ContentsIndexHome
PreviousUpNext
Statistics.EmpiricalCDF Method

Empirical CDF.

Syntax
C#
Visual Basic
public static void EmpiricalCDF([In] TVec Data, [In] TVec xCDF, [In] TVec yCDF);
Parameters 
Description 
[In] TVec Data 
Data, sorted in ascending order, with NANs and INFs removed. 
[In] TVec xCDF 
Values at which CDF increases. 
[In] TVec yCDF 
Calculated CDF. 

Calculates empirical cumulative distribution function. Given N ordered data points Y1, Y2, ..., YN, the empirical CDF (ECDF) is defined as: 

E(n)=n(i)/N ,  

where n(i) is the number of points less than Yi and the Yi are ordered from smallest to largest value. This is a step function that increases by 1/N at the value of each ordered data point.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!